package com.cqut.dto;

import com.cqut.util.BeanUtil;
import com.cqut.model.ProblemManager;
import java.io.Serializable;


public class ProblemManagerDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String problemDetail;
        
        private String programme;
        
        private String problemId;
        
        public String getProblemId() {
			return problemId;
		}

		public void setProblemId(String problemId) {
			this.problemId = problemId;
		}

		public String getProblemDetail() {
            return this.problemDetail;
        }
        
        public void setProblemDetail(String problemDetail) {
            this.problemDetail = problemDetail;
        }
        
        public String getProgramme() {
            return this.programme;
        }
        
        public void setProgramme(String programme) {
            this.programme = programme;
        }
        
        public ProblemManager toModel() {
            ProblemManager model = new ProblemManager();
			BeanUtil.convert(this, model);
			return model;
        }
    
}